/**
 * 中国9号健康产业有限公司
 * Copyright (C) JiuHaoHealth Corporation. All Rights Reserved
 */
package com.jiuhaohealth.kangxun360.account;

import java.util.List;

import com.jiuhaohealth.common.page.PageModel;
import com.jiuhaohealth.kangxun360.main.po.Account;
/**
 * @author minghui(jackchenmh@gmail.com)
 * @version 2014-3-18 下午5:08:45
 */
public interface AccountService {
	public Integer saveAccount(Account account);
	public Integer deleteAccountByPk(Integer id , String userId);
	public Integer modifyAccount(Account account);
	public Account queryAccountByPk(Integer id , String userId);
	public List<Account> queryAccounts(String firstName , String lastName);
	public List<Account> queryAccounts(String firstName , Integer pageSize, Integer pageNo);
	
	public PageModel<Account> listAccount(String userId ,  int offset, int ps);
	
}
